# encoding: UTF-8


import logging
import logging.config

class BaseLog(object):

    def __init__(self):
        
        self.logName = u'log'

        logging.config.fileConfig("logging.conf")
        self.logger = logging.getLogger('runtime')

    def info(self, message):
        
        self.logger.info(message)

    def error(self, message):

        self.logger.error(message)

    def debug(self, message):

        self.logger.debug(message)



if __name__ == '__main__':
    log = BaseLog()
    log.info("test")
